export function handleFlowNodeData(data) {
  const nodeStatus = [];
  data.activeActivityIds.forEach((item) => {
    nodeStatus.push({ key: item, completed: false });
  });
  data.finishedActivityIds.forEach((item) => {
    nodeStatus.push({ key: item, completed: true });
  });
  data.finishedFlowIds.forEach((item) => {
    nodeStatus.push({ key: item, completed: true });
  });
  return nodeStatus;
}
